test return value of kmalloc to prevent crash is the allocation fail.
authorvhanquez@kneesa.uk.xensource.com <vhanquez@kneesa.uk.xensource.com>
Fri, 6 Jan 2006 22:07:04 +0000 (22:07 +0000)
committervhanquez@kneesa.uk.xensource.com <vhanquez@kneesa.uk.xensource.com>
Fri, 6 Jan 2006 22:07:04 +0000 (22:07 +0000)
commit1d36a783486b2800b9dd543cf476013e19a765d9
tree43415a7dac512bc5df931092443bad2551bd0965
parentfd0de160a158a5aa7a86ff9cc61ee9e2410f91da
test return value of kmalloc to prevent crash is the allocation fail.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c